package com.kobe.system.service.impl;

import com.kobe.system.domain.SysKobeFinance;
import com.kobe.system.domain.SysKobeProject;
import com.kobe.system.mapper.SysKobeProjectMapper;
import com.kobe.system.service.SysKobeProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysKobeProjectServiceImpl implements SysKobeProjectService {


    @Autowired
    SysKobeProjectMapper sysKobeProjectMapper;

    @Override
    public List<SysKobeProject> listProject(SysKobeProject sysKobeProject) {

        return sysKobeProjectMapper.listKobeProject(sysKobeProject);
    }

    @Override
    public Double getProjectTotalMoneyById(Long projectId) {

        return sysKobeProjectMapper.getProjectTotalMoneyById(projectId);
    }
}
